package com.ltu.enums;

public class ActivityEnum {
//
	public enum PlanTypeEnum  {

		 Week( (byte) 1, "按周"),
		 Day((byte) 0, "按日期范围"),
		
	    ;
	    private Byte index;
	    private String desc;
	    public Byte getIndex() {
	        return this.index;
	    }

	    public String getDesc() {
	        return this.desc;
	    }

	    PlanTypeEnum(Byte index, String desc) {
	        this.index = index;
	        this.desc = desc;
	    }

	  
	
	}
	public enum StatusEnum  {
//		0排课中1进行中2活动结束
		Deleted((byte) -1, "已删除"),
		Unopen((byte) 0, "排课中"),
		Ongoing( (byte) 1, "进行中"),
		Complete( (byte) 2, "活动已结束"),
		
		;
		private Byte index;
		private String desc;
		public Byte getIndex() {
			return this.index;
		}
		
		public String getDesc() {
			return this.desc;
		}
		
		StatusEnum(Byte index, String desc) {
			this.index = index;
			this.desc = desc;
		}
		
		
		
	}
}
